﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CountProblem.aspx.cs" Inherits="Three_Managerment_Problem_one_CountProblem" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link href="/style/css/style.css" rel="stylesheet" type="text/css" />
    <link href="/style/css/select.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/style/js/jquery.js"></script>
    <script type="text/javascript" src="/style/js/jquery.idTabs.min.js"></script>
    <script type="text/javascript" src="/style/js/select-ui.min.js"></script>
    <script type="text/javascript" src="/style/editor/kindeditor.js"></script>

    <script type="text/javascript">
        KE.show({
            id: 'content7',
            cssPath: './index.css'
        });
    </script>

    <script type="text/javascript">
        $(document).ready(function (e) {
            $(".select1").uedSelect({
                width: 345
            });
            $(".select2").uedSelect({
                width: 167
            });
            $(".select3").uedSelect({
                width: 100
            });
        });
    </script>

    <style>
        .pager {
            width: 95%;
            margin: 10px;
            line-height: 20px;
            display: block;
        }

            .pager span {
                border: 1px solid #CCCCCC;
                margin: 0 5px;
                padding: 1px 6px;
                float: left;
            }

            .pager a {
                border: 1px solid #CCCCCC;
                display: block;
                overflow: hidden;
                float: left;
                margin: 0 5px;
                padding: 1px 6px;
            }

                .pager a:hover {
                    border: 1 solid red;
                    background-color: #1657a8;
                    color: #ffffff;
                    margin: 0 5px;
                    padding: 1px 6px;
                }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <div class="place">
            <span>位置：</span>
            <ul class="placeul">
                <li><a href="Index.aspx">首页</a></li>
                <li><a href="#">部门事件统计</a></li>
            </ul>
        </div>

        <div class="formbody">


            <div id="usual1" class="usual">

                <div class="itab">
                    <ul>
                        <li><a href="#tab1" class="selected">一级部门事件统计</a></li>
                        <li><a href="#tab2">二级部门事件统计</a></li>
                        <li><a href="#tab3">三级部门事件统计</a></li>
                    </ul>
                </div>

                <div id="tab1" class="tabson">
                    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                        <ContentTemplate>
                            <table class="tablelist">
                                <asp:Repeater runat="server" ID="repeater1" OnItemDataBound="repeater_ItemDataBound">
                                    <HeaderTemplate>
                                        <thead>
                                            <tr>
                                                <th width="10%">部门</th>
                                                <th width="10%">直办</th>
                                                <th width="10%">待办</th>
                                                <th width="10%">办理中</th>
                                                <th width="10%">已办理</th>
                                                <th width="10%">已办结</th>
                                                <%--<th width="10%">超时</th>--%>
                                            </tr>
                                        </thead>
                                        <tbody>
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <tr>
                                            <td style="overflow: hidden">平台</td>
                                            <td style="overflow: hidden"><%#Eval("zb") %></td>
                                            <td style="overflow: hidden"><%#Eval("db") %></td>
                                            <td style="overflow: hidden"><%#Eval("blz") %></td>
                                            <td style="overflow: hidden"><%#Eval("ybl") %></td>
                                            <td style="overflow: hidden"><%#Eval("ybj") %></td>
                                        </tr>
                                    </ItemTemplate>
                                    <FooterTemplate>
                                        <%#repeater1.Items.Count == 0 ? "<tr><td align=\"center\" colspan=\"20\">暂无记录</td></tr>" : ""%>
                                        </tbody>
                                    </FooterTemplate>
                                </asp:Repeater>
                            </table>


                            <div class="pager">
                                <webdiyer:AspNetPager
                                    ID="AspNetPager1" runat="server" AlwaysShow="True" FirstPageText="首页"
                                    LastPageText="尾页" NextPageText="下一页" OnPageChanged="AspNetPager1_PageChanged"
                                    PrevPageText="上一页" PageSize="10">
                                </webdiyer:AspNetPager>
                            </div>
                        </ContentTemplate>
                    </asp:UpdatePanel>
                </div>


                <div id="tab2" class="tabson">
                    <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                        <ContentTemplate>
                            <table class="tablelist">
                                <asp:Repeater runat="server" ID="repeater2" OnItemDataBound="repeater_ItemDataBound">
                                    <HeaderTemplate>
                                        <thead>
                                            <tr>
                                                <th width="10%">部门</th>
                                                <th width="10%">待办</th>
                                                <th width="10%">办理中</th>
                                                <th width="10%">已办理</th>
                                                <th width="10%">已办结</th>
                                                <%--<th width="10%">超时</th>--%>
                                            </tr>
                                        </thead>
                                        <tbody>
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <tr>
                                            <td style="overflow: hidden"><%#Eval("DWMC") %></td>
                                            <td style="overflow: hidden"><%#Eval("db") %></td>
                                            <td style="overflow: hidden"><%#Eval("blz") %></td>
                                            <td style="overflow: hidden"><%#Eval("ybl") %></td>
                                            <td style="overflow: hidden"><%#Eval("ybj") %></td>
                                        </tr>
                                    </ItemTemplate>
                                    <FooterTemplate>
                                        <%#repeater2.Items.Count == 0 ? "<tr><td align=\"center\" colspan=\"20\">暂无记录</td></tr>" : ""%>
                                        </tbody>
                                    </FooterTemplate>
                                </asp:Repeater>
                            </table>

                            <div class="pager">
                                <webdiyer:AspNetPager
                                    ID="AspNetPager2" runat="server" AlwaysShow="True" FirstPageText="首页"
                                    LastPageText="尾页" NextPageText="下一页" OnPageChanged="AspNetPager2_PageChanged"
                                    PrevPageText="上一页" PageSize="10">
                                </webdiyer:AspNetPager>
                            </div>
                        </ContentTemplate>
                    </asp:UpdatePanel>
                </div>

                <div id="tab3" class="tabson">
                    <asp:UpdatePanel ID="UpdatePanel3" runat="server">
                        <ContentTemplate>
                            <table class="tablelist">
                                <asp:Repeater runat="server" ID="repeater3" OnItemDataBound="repeater_ItemDataBound">
                                    <HeaderTemplate>
                                        <thead>
                                            <tr>
                                                <th width="10%">部门  </th>
                                                <th width="10%">待办</th>
                                                <th width="10%">办理中</th>
                                                <th width="10%">已办理</th>
                                                <th width="10%">已办结</th>
                                                <%--<th width="10%">超时</th>--%>
                                            </tr>
                                        </thead>
                                        <tbody>
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <tr>
                                            <td style="overflow: hidden"><%#Eval("DWMC") %></td>
                                            <td style="overflow: hidden"><%#Eval("db") %></td>
                                            <td style="overflow: hidden"><%#Eval("blz") %></td>
                                            <td style="overflow: hidden"><%#Eval("ybl") %></td>
                                            <td style="overflow: hidden"><%#Eval("ybj") %></td>
                                        </tr>
                                    </ItemTemplate>
                                    <FooterTemplate>
                                        <%#repeater3.Items.Count == 0 ? "<tr><td align=\"center\" colspan=\"20\">暂无记录</td></tr>" : ""%>
                                        </tbody>
                                    </FooterTemplate>
                                </asp:Repeater>
                            </table>

                            <div class="pager">
                                <webdiyer:AspNetPager
                                    ID="AspNetPager3" runat="server" AlwaysShow="True" FirstPageText="首页"
                                    LastPageText="尾页" NextPageText="下一页" OnPageChanged="AspNetPager3_PageChanged"
                                    PrevPageText="上一页" PageSize="10">
                                </webdiyer:AspNetPager>
                            </div>
                        </ContentTemplate>
                    </asp:UpdatePanel>
                </div>
            </div>

            <script type="text/javascript">
                $("#usual1 ul").idTabs();
            </script>

            <script type="text/javascript">
                $('.tablelist tbody tr:odd').addClass('odd');
            </script>
        </div>

    </form>
</body>
</html>
